package com.lemo.smart.bean;

import java.lang.reflect.Method;

/**
 * 封装requestmapping信息
 * Created by 罗选通 on 2017/12/22.
 */
public class Handler {

  /**
   * Controlelr类
   */
  private Class<?> controllerClass;

  /**
   * 方法
   */
  private Method actionMethod;

  public Handler(Class<?> controllerClass, Method actionMethod) {
    this.controllerClass = controllerClass;
    this.actionMethod = actionMethod;
  }

  public Class<?> getControllerClass() {
    return controllerClass;
  }

  public void setControllerClass(Class<?> controllerClass) {
    this.controllerClass = controllerClass;
  }

  public Method getActionMethod() {
    return actionMethod;
  }

  public void setActionMethod(Method actionMethod) {
    this.actionMethod = actionMethod;
  }

}
